package cn.stylefeng.guns.modular.business.frequency.cmcity.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.cmcity.entity.CmCity;
import cn.stylefeng.guns.modular.business.frequency.cmcity.model.param.CmCityParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * cm_city 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
public interface CmCityService extends IService<CmCity> {

    /**
     * 分页查询cm_city
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    PageResult<CmCity> page(CmCityParam cmCityParam);

    /**
     * 查询所有cm_city
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    List<CmCity> list(CmCityParam cmCityParam);

    /**
     * 添加cm_city
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void add(CmCityParam cmCityParam);

    /**
     * 删除cm_city
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void delete(CmCityParam cmCityParam);

    /**
     * 编辑cm_city
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void edit(CmCityParam cmCityParam);

    /**
     * 查看详情cm_city
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    CmCity detail(CmCityParam cmCityParam);

}